<header id="header" class="mui-bar mui-bar-black mui-bar-nav">
    <a class="mui-icon mui-icon-left-nav mui-pull-left"  href="{:url('log/log_list')}"></a>
    <h1 class="mui-title">编辑日志</h1>
</header>
<form  method="POST" action="">
<br><br><br>
<div class="mui-content add-log">
    <ul class="log-del-top">
        <input name='id' value='{$result.id}' type='hidden'>
        <li><div>项目名称</div><div>  <select id="site_id" name="site_id" style="font-size: 1em;">
                {foreach name="siteList" item="vo"}
                    <option value="{$key}" {in name="key" value="1"}selected{/in}>{$vo}</option>
                {/foreach}
            </select> 
 <i class="icon_down1"></i></div></li>
        <li><div>日志类型</div><div>

            <select id="log_type" name="log_type" style="font-size: 1em;">
                {foreach name="logTypeList" item="vo"}
                    <option value="{$key}" <?php if($key==$result['log_type']){echo 'selected';}?> >{$vo}</option>
                {/foreach}
            </select> 
            <i class="icon_down1"></i></div></li>
        <li><div>上午天气</div><div><input style="width: 100%" value='{$result.log_morning}'  name='log_morning' type="text" placeholder="描述上午天气情况"></div></li>
        <li><div>下午天气</div><div><input style="width: 100%" value='{$result.log_afternoon}' name='log_afternoon' type="text" placeholder="描述上午天气情况"></div></li>
        <li><div>夜间天气</div><div><input style="width: 100%" value='{$result.log_night}'  name='log_night' type="text" placeholder="描述夜间天气情况"></div></li>
        <li><div>施工人数</div>
            <div>
                <span>上午</span><input style="width: 25%;padding:10px 2px; " value='{$result.log_morinig_amount}' name='log_morinig_amount' type="text" placeholder="人数">
                <span class="xiawu">下午</span><input value='{$result.log_afternoon_amount}'  style="width: 25%;padding:10px 2px;" 
                name='log_afternoon_amount' type="text" placeholder="人数">
            </div>
        </li>
        <li class="log-del-top-title"><div>施工情况</div></li>
        <li class="log-del-top-txt">
           <textarea rows="5" name='log_situation'  placeholder="请描述详细的施工情况">{$result.log_situation}</textarea>
        </li>
        <li class="log-del-top-title"><div>明日施工安排</div></li>
        <li class="log-del-top-txt">
            <textarea rows="5" name='log_plan' placeholder="请填写明日施工安排">{$result.log_plan}</textarea>
        </li>
        <li class="log-del-top-title"><div>预期施工完成度及分析</div></li>
        <li class="log-del-top-txt">
            <textarea rows="5" name='log_expect' placeholder="请描述预期施工完成度及分析">{$result.log_expect}</textarea>
        </li>
    </ul>
</div>
<div class="mui-content-padded add-log-btn">
    <button type="submit" class="mui-btn mui-btn-primary mui-btn-block">保存</button>
    <button type="button" class="mui-btn mui-btn-primary mui-btn-block">一键传图</button>
</div> 
</form>